package mubei.pojo;

/**
 * @author mubei
 * @date 2020/12/6
 * @description
 */
public abstract class Animal {

    private int leg;

    public Animal(int leg) {
        this.leg = leg;
    }

    public void sound() {

    }

    @Override
    public String toString() {
        return "Animal{" +
                "leg=" + leg +
                '}';
    }
}
